package com.mycjj.android.http;

import java.util.Map;

import org.json.JSONObject;

import android.content.Context;
import android.text.TextUtils;
import android.util.Log;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.loopj.android.http.AsyncHttpResponseHandler;
import com.loopj.android.http.RequestParams;
import com.mycjj.android.ProjectDataManage;
import com.mycjj.android.bean.Adviser;
import com.mycjj.android.bean.AdvisersBaseBean;
import com.mycjj.android.bean.ArticleDetailBaseBean;
import com.mycjj.android.bean.ArticleListBaseBean;
import com.mycjj.android.bean.ArticlecClassBaseBean;
import com.mycjj.android.bean.BaseBean;
import com.mycjj.android.bean.BrandBaseBean;
import com.mycjj.android.bean.CarInfoBaseBean;
import com.mycjj.android.bean.CarNetworkBaseBean;
import com.mycjj.android.bean.CarNetworkCommentBaseBean;
import com.mycjj.android.bean.CarNetworkLastThemesBaseBean;
import com.mycjj.android.bean.CarNetworkThemeDetailBaseBean;
import com.mycjj.android.bean.CarNetworkThemesCircleBaseBean;
import com.mycjj.android.bean.CarNetworkThemesFriendBaseBean;
import com.mycjj.android.bean.CarNetworkThemesMyBaseBean;
import com.mycjj.android.bean.GameConfigBaseBean;
import com.mycjj.android.bean.GetSignsBaseBean;
import com.mycjj.android.bean.GetsCashBaseBean;
import com.mycjj.android.bean.GetsPrizeBaseBean;
import com.mycjj.android.bean.HelpCallBean;
import com.mycjj.android.bean.InsuranceBaseBean;
import com.mycjj.android.bean.LoginMemberBean;
import com.mycjj.android.bean.MemberBean;
import com.mycjj.android.bean.MemberBean.Member;
import com.mycjj.android.bean.MemberBean.MemberCar;
import com.mycjj.android.bean.MemberBean.MemberStore;
import com.mycjj.android.bean.MessageBaseBean;
import com.mycjj.android.bean.MsgGetBaseBean;
import com.mycjj.android.bean.PointsOrderGetsBaseBean;
import com.mycjj.android.bean.RegisterUserBean;
import com.mycjj.android.bean.ReservationBaseBean;
import com.mycjj.android.bean.ReservationGetBaseBean;
import com.mycjj.android.bean.SettingBaseBean;
import com.mycjj.android.bean.StoreActivityBaseBean;
import com.mycjj.android.bean.StoreActivityDetailBaseBean;
import com.mycjj.android.bean.StoreArticleBaseBean;
import com.mycjj.android.bean.StoreBaseBean;
import com.mycjj.android.bean.StoreCarBrandBaseBean;
import com.mycjj.android.bean.StoreCarSlowBaseBean;
import com.mycjj.android.bean.SyceeGetRecordBaseBean;
import com.mycjj.android.bean.UserCarGetsBaseBean;
import com.mycjj.android.bean.ViolationBaseBean;
import com.mycjj.android.bean.WeatherBaseBean;
import com.mycjj.android.bean.YuyueDateStateBean;
import com.mycjj.android.bean.YuyueMonthStateBean;


public class ProjectHttpRequestImpl extends ProjectHttpRequestBase implements ProjectHttpRequestInterface {

	private static final String TAG = "ProjectHttpRequestImpl";
	private ProjectAsyncHttpClient client = new ProjectAsyncHttpClient();
	private ProjectDataManage dataManage = ProjectDataManage.getInstance();
	//TODO 添加请求头
	private static final String Authorization = "";

	public ProjectHttpRequestImpl(Context context,boolean showLoadingBar) {
		super(context);
		super.setShowLoadingProgress(showLoadingBar);
		client.addHeader("Authorization",Authorization);
	}
	
	public void setShowLoadingBar(boolean showLoadingBar) {
		super.setShowLoadingProgress(showLoadingBar);
	}
	
	@Override
	public void requestPhoneMesWithDoneHandler(String url, RequestParams params, final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######注册 - 发送验证码");
		this.startLoadingProgress();
		client.post(this.getContext(), GET_CODE, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), GET_CODE, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<String> bean = mapper.readValue(content, BaseBean.class);
					Log.i("info", "--ethan获取到的数据="+bean.getData());
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestRegUserWithDoneHandler(String url, RequestParams params,
			final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######注册 -用户 注册");
		this.startLoadingProgress();
		client.post(this.getContext(), REG_MEMBER, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), REG_MEMBER, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				Log.i("info", "--ethan获取到的数据 content="+content);
				content = content.replace("\ufeff", "");
				ObjectMapper mapper = new ObjectMapper();
				try {
					RegisterUserBean bean = mapper.readValue(content, RegisterUserBean.class);
					Log.i("info", "--ethan获取到的数据="+bean.getData().getMember_mobile());
					
					dataManage.setRegisterUserBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}
	
	@Override
	public void requestRegUser2WithDoneHandler(String url, RequestParams params,
			final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######注册 -用户 注册2");
		this.startLoadingProgress();
		client.post(this.getContext(), REG_MEMBER2, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), REG_MEMBER2, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				Log.i("info", "--ethan获取到的数据 content="+content);
				content = content.replace("\ufeff", "");
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestRetrievePwdWithDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######注册 -找回密码");
		this.startLoadingProgress();
		client.post(this.getContext(), FIND_PASSWORD, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), FIND_PASSWORD, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestRetrievePwdWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map<?,?>> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestLoginUserWithDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######登陆 - 用户登陆");
		this.startLoadingProgress();
		client.post(this.getContext(), USER_LOGIN, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), USER_LOGIN, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				Log.i("info","-----loginonFailure="+content);
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				Log.i("info","-----loginparseContent="+content);
				content = content.replace("\ufeff", "");
				Log.e(TAG, content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					//将json字符串反射成Object中的对象
					LoginMemberBean bean = mapper.readValue(content, LoginMemberBean.class);
					JSONObject jobject = new JSONObject(content);
					MemberBean memberBean = bean.getData();
					if(memberBean != null){
						JSONObject jDataObject = jobject.optJSONObject("data");
						//member
						Member member = null;
						try{
							JSONObject jArrObject = jDataObject.optJSONObject("member_arr");
							member = mapper.readValue(jArrObject.toString(), Member.class);
						}catch(Exception e1){
							String temp = jDataObject.optString("member_arr");
							if(TextUtils.isEmpty(temp)){
								member = null;
							}else{
								Log.e("mark","member_arr temp:"+temp);
							}
						}
						memberBean.setMember_arr(member);
						//memberCar
						MemberCar memberCar = null;
						try{
							JSONObject jCarsObject = jDataObject.optJSONObject("member_cars");
							memberCar = mapper.readValue(jCarsObject.toString(), MemberCar.class);
						}catch(Exception e1){
							String temp = jDataObject.optString("member_cars");
							if(TextUtils.isEmpty(temp)){
								memberCar = null;
							}else{
								Log.e("mark","member_cars temp:"+temp);
							}
						}
						memberBean.setMember_cars(memberCar);
						
						MemberStore memberStore = null;
						try{
							JSONObject jStoreObject = jDataObject.optJSONObject("member_stores");
							memberStore = mapper.readValue(jStoreObject.toString(), MemberStore.class);
						}catch(Exception e1){
							String temp = jDataObject.optString("member_stores");
							if(TextUtils.isEmpty(temp)){
								memberStore = null;
							}else{
								Log.e("mark","member_stores temp:"+temp);
							}
						}
						
						memberBean.setMember_stores(memberStore);
						
						bean.setData(memberBean);
					}
//					"member_arr","",""
					
					dataManage.setLoginMemberBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					handler.onFailure(e, "json反射错误");
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestBindMobileWithDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######登陆 - 绑定手机(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), BIND_MOBILE, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), BIND_MOBILE, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestBindStoreWithDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######登陆 - 绑定服务点(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), BIND_STORE_2, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), BIND_STORE_2, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestReservationAddWithDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######首页 - 预约 - 新增");
		this.startLoadingProgress();
		client.post(this.getContext(), RESERVATION_ADD, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), RESERVATION_ADD, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestReservationAddWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestReservationGetWithDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######首页 - 预约 - 获取预约详细");
		this.startLoadingProgress();
		client.post(this.getContext(), RESERVATION_GET, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), RESERVATION_GET, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				Log.i("info","-----requestReservationGetWithDoneHandler="+content);
				content = content.replace("\ufeff", "");
				Log.e(TAG, content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					ReservationGetBaseBean bean = mapper.readValue(content, ReservationGetBaseBean.class);
					dataManage.setReservationGetBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestReservationGetsWithDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######首页 - 预约 - 获取预约列表");
		this.startLoadingProgress();
		client.post(this.getContext(), RESERVATION_GETS, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), RESERVATION_GETS, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				Log.i("info","-----requestReservationGetsWithDoneHandler="+content);
				content = content.replace("\ufeff", "");
				Log.e(TAG, content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					ReservationBaseBean bean = mapper.readValue(content, ReservationBaseBean.class);
					dataManage.setReservationBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestReservationEvaluateWithDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######首页 - 预约 - 预约评价");
		this.startLoadingProgress();
		client.post(this.getContext(), RESERVATION_EVALUATE, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), RESERVATION_EVALUATE, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestReservationEvaluateWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
//					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
//					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestReservationCancelWithDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "###### -预约取消");
		this.startLoadingProgress();
		client.post(this.getContext(), RESERVATION_CANCEL, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), RESERVATION_CANCEL, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestReservationCancelWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
//					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
//					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestStoreGetAdvisersWithDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######服务点 - 顾问 - 获取顾问列表");
		this.startLoadingProgress();
		client.post(this.getContext(), STORE_GET_ADVISERS, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), STORE_GET_ADVISERS, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					AdvisersBaseBean bean = mapper.readValue(content, AdvisersBaseBean.class);
					dataManage.setAdvisersBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}
	
	@Override
	public void requestStoreBindAdviserWithDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######服务点 - 顾问 - 绑定顾问(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), STORE_BIND_ADVISER, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), STORE_BIND_ADVISER, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestGetHelpCallsWithDoneHandler(String url, RequestParams params, final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######首页 - 求助电话(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), GET_HELP_CALLS, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), GET_HELP_CALLS, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestGetHelpCallsWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					HelpCallBean bean = mapper.readValue(content, HelpCallBean.class);
					dataManage.setHelpCallBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestUserEditMemberWithDoneHandler(String url, RequestParams params, final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######修改 - 个人资料(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), USER_EDIT_MEMBER, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), USER_EDIT_MEMBER, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestUserEditMemberWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestUserEditMobileWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######修改 - 修改手机号(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), USER_EDIT_MOBILE, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), USER_EDIT_MOBILE, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestUserEditMobileWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestUserCarBindCarWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######绑定/编辑 - 车辆信息(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), USERCAR_BINDCAR, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), USERCAR_BINDCAR, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestUserCarBindCarWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map<?,?>> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					handler.onFailure(e, e.getMessage());
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestUserCarGetsWithDoneHandler(String url, RequestParams params, final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######获取车辆列表(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), USERCAR_GETS, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), USERCAR_GETS, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestUserCarGetsWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					UserCarGetsBaseBean bean = mapper.readValue(content, UserCarGetsBaseBean.class);
					dataManage.setUserCarGetsBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestUserCarGetWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######获取车辆详细(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), USERCAR_GET, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), USERCAR_GET, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestUserCarGetWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					CarInfoBaseBean bean  = mapper.readValue(content, CarInfoBaseBean.class);
					JSONObject jobject = new JSONObject(content);
					JSONObject jDataObject = jobject.optJSONObject("data");
					Adviser adviser = null;
					try{
						String temp = jDataObject.optString("adviser");
						if(TextUtils.isEmpty(temp)){
							adviser = null;
						}else{
							Log.e("mark", "temp:"+temp);
						}
					}catch(Exception e){
						try{
							JSONObject jobj = jDataObject.optJSONObject("adviser");
							adviser = mapper.readValue(jobj.toString(), Adviser.class);
						}catch(Exception exception){
							adviser = null;
						}
					}
					bean.getData().setAdviser(adviser);
					dataManage.setCarInfoBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
					handler.onFailure(e,e.getMessage());
				}
			}
		});
		
	}

	@Override
	public void requestUserCarGetBrand(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######获取车辆品牌信息");
		this.startLoadingProgress();
		client.post(this.getContext(), USERCAR_GETBRAND, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), USERCAR_GETBRAND, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestUserCarGetBrand response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BrandBaseBean bean = mapper.readValue(content, BrandBaseBean.class);
					dataManage.setBrandBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestStoreAddMessageWithDoneHandler(String url, RequestParams params, final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######服务点 - 顾问 - 在线咨询(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), STORE_ADD_MESSAGE, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), STORE_ADD_MESSAGE, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestStoreAddMessageWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestStoreGetStoresWithDoneHandler(String url, RequestParams params, final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######服务点 - 店铺 - 获取列表(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), STORE_GET_STORES, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), STORE_GET_STORES, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestStoreGetStoresWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					StoreBaseBean bean = mapper.readValue(content, StoreBaseBean.class);
					dataManage.setStoreBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestStoreGetMonthPlanWithDoneHandler(String url, RequestParams params, final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######服务点 - 店铺 - 获取当月预约状态");
		this.startLoadingProgress();
		client.post(this.getContext(), STORE_GET_PLAN, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), STORE_GET_PLAN, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				ObjectMapper mapper = new ObjectMapper();
				Log.e(TAG, "requestStoreGetPlanWithDoneHandler response:"+content);
				try {
					YuyueMonthStateBean bean = mapper.readValue(content, YuyueMonthStateBean.class);
					dataManage.setYuyueMonthStateBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}
	
	@Override
	public void requestStoreGetDayPlanWithDoneHandler(String url, RequestParams params, final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######服务点 - 店铺 - 获取当天预约状态");
		this.startLoadingProgress();
		client.post(this.getContext(), STORE_GET_PLAN, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), STORE_GET_PLAN, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				ObjectMapper mapper = new ObjectMapper();
				Log.e(TAG, "requestStoreGetDayPlanWithDoneHandler response:"+content);
				try {
					YuyueDateStateBean bean = mapper.readValue(content, YuyueDateStateBean.class);
					dataManage.setYuyueDateStateBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestStoreGetStoreCarWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######服务点 - 店铺 - 品牌车型列表(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), STORE_GET_STORE_CAR, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), STORE_GET_STORE_CAR, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestStoreGetStoreCarWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					StoreCarBrandBaseBean bean = mapper.readValue(content, StoreCarBrandBaseBean.class);
					dataManage.setStoreCarBrandBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestStoreGetStoreCarSlowWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######服务点 - 店铺 - 根据车型ID获取车款列表(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), STORE_GET_STORE_CAR_SLOW, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), STORE_GET_STORE_CAR_SLOW, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestStoreGetStoreCarSlowWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					StoreCarSlowBaseBean bean = mapper.readValue(content, StoreCarSlowBaseBean.class);
					dataManage.setStoreCarSlowBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestStoreGetStoreCarDetailWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######服务点 - 店铺 - 根据车款ID获取详情(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), STORE_GET_STORE_CAR_DETAIL, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), STORE_GET_STORE_CAR_DETAIL, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestStoreGetStoreCarDetailWithDoneHandler response:"+content);
				try {
					
//					dataManage.setRequestMap(map);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestStoreGetActivityWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######服务点 - 店铺 - 获取店铺活动(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), STORE_GET_ACTIVITY, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), STORE_GET_ACTIVITY, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestStoreGetActivityWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					StoreActivityBaseBean bean = mapper.readValue(content, StoreActivityBaseBean.class);
					dataManage.setStoreActivityBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}
	
	
	@Override
	public void requestStoreGetActivityDetailWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######服务点 - 店铺 - 获取活动详情");
		this.startLoadingProgress();
		client.post(this.getContext(), STORE_GET_ACTIVITY_DETAIL, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), STORE_GET_ACTIVITY_DETAIL, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestStoreGetActivityWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					StoreActivityDetailBaseBean bean = mapper.readValue(content, StoreActivityDetailBaseBean.class);
					dataManage.setStoreActivityDetailBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestStoreAddSignWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######服务点 - 店铺 - 活动报名(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), STORE_ADD_SIGN, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), STORE_ADD_SIGN, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestStoreAddSignWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestStoreGetStoreArticleWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######服务点 - 店铺 - 根据店铺ID获取资讯(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), STORE_GET_STORE_ARTICLE, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), STORE_GET_STORE_ARTICLE, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestStoreGetStoreArticleWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					StoreArticleBaseBean bean = mapper.readValue(content, StoreArticleBaseBean.class);
					dataManage.setStoreArticleBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestSyceeGetSettingWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######积分 - 获取静态设置");
		this.startLoadingProgress();
		client.post(this.getContext(), SYCEE_GETSETTING, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), SYCEE_GETSETTING, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestSyceeGetSettingWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					SettingBaseBean bean = mapper.readValue(content, SettingBaseBean.class);
					dataManage.setSettingBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestSyceeShareWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######积分 - 分享领元宝 - 邀请好友(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), SYCEE_SHARE, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), SYCEE_SHARE, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestSyceeShareWithDoneHandler response:"+content);
				try {
					
//					dataManage.setRequestMap(map);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requsetSyceeClueWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######积分 - 分享领元宝 - 提供线索(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), SYCEE_CLUE, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), SYCEE_CLUE, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requsetSyceeClueWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestSyceeDoSignWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######积分 - 签到 - 提交(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), SYCEE_DOSIGN, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), SYCEE_DOSIGN, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestSyceeDoSignWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestSyceeGetSignsWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######积分 - 签到 - 获取记录(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), SYCEE_GETSIGNS, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), SYCEE_GETSIGNS, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestSyceeGetSignsWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					GetSignsBaseBean baseBean = mapper.readValue(content, GetSignsBaseBean.class);
					dataManage.setSignsBaseBean(baseBean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestSyceeGetRecordWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######积分 - 元宝记录 - 列表[获得|消费](N)");
		this.startLoadingProgress();
		client.post(this.getContext(), SYCEE_GETRECORD, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), SYCEE_GETRECORD, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestSyceeGetRecordWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					SyceeGetRecordBaseBean bean = mapper.readValue(content, SyceeGetRecordBaseBean.class);
					dataManage.setGoldRecordBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestSyceeDoCashWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######积分 - 元宝兑换 - 兑换礼品(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), SYCEE_DOCASH, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), SYCEE_DOCASH, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestSyceeDoCashWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestGoodsGetsCashWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######积分 - 元宝兑换 - 商品列表(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), GOODS_GETCASH, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), GOODS_GETCASH, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestGoodsGetsCashWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					GetsCashBaseBean bean = mapper.readValue(content, GetsCashBaseBean.class);
					dataManage.setCashBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestGoodsGetsPrizeWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######积分 - 元宝抽奖 - 商品列表(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), GOODS_GETSPRIZE, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), GOODS_GETSPRIZE, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestGoodsGetsPrizeWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					GetsPrizeBaseBean bean = mapper.readValue(content, GetsPrizeBaseBean.class);
					dataManage.setPrizeBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestGameLotteryWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######积分 - 元宝抽奖 - 抽奖计算(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), GAME_LOTTERY, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), GAME_LOTTERY, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestGameLotteryWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean =  mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestPointsOrderGetsWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######积分 - 我的奖品 - 获取列表(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), POINTS_ORDER_GETS, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), POINTS_ORDER_GETS, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				Log.e(TAG, "requestPointsOrderGetsWithDoneHandler response:"+content);
				content = content.replace("\ufeff", "");
				ObjectMapper mapper = new ObjectMapper();
				try {
					PointsOrderGetsBaseBean bean = mapper.readValue(content, PointsOrderGetsBaseBean.class);
					dataManage.setPointsOrderGets(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestPointsOrderGetCountWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######积分 - 我的奖品 - 统计(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), POINTS_ORDER_GETCOUNT, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), POINTS_ORDER_GETCOUNT, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestPointsOrderGetCountWithDoneHandler response:"+content);
				try {
					
//					dataManage.setRequestMap(map);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestGameGetConfigWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######积分 - 游戏 - 获取配置");
		this.startLoadingProgress();
		client.post(this.getContext(), GAME_GETCONFIG, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), GAME_GETCONFIG, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestGameGetConfigWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					GameConfigBaseBean bean = mapper.readValue(content, GameConfigBaseBean.class);
					dataManage.setGameConfigBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestGameScratchWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######积分 - 游戏 - 刮刮卡计算(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), GAME_SCRATCH, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), GAME_SCRATCH, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestGameScratchWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestGameRoteWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######积分 - 游戏 - 大转盘计算(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), GAME_ROTE, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), GAME_ROTE, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestGameRoteWithDoneHandler response:"+content);
				try {
					
//					dataManage.setRequestMap(map);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}
	@Override
	public void requestInsuranceListWithDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "###### 所有 保险公司列表");
		this.startLoadingProgress();
		client.post(this.getContext(), Insurance_List, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), Insurance_List, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "--info- response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					InsuranceBaseBean bean = mapper.readValue(content, InsuranceBaseBean.class);
					dataManage.setInsuranceBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestSystemArticleClassWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "######首页 - 资讯 - 获取分类ID");
		this.startLoadingProgress();
		client.post(this.getContext(), SYSTEM_ARTICLE_CLASS, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), SYSTEM_ARTICLE_CLASS, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "--info- requestSystemArticleClassWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					ArticlecClassBaseBean bean = mapper.readValue(content, ArticlecClassBaseBean.class);
					dataManage.setArticleClassBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestSystemArticleListWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "###### 首页 - 资讯 - 获取列表");
		this.startLoadingProgress();
		client.post(this.getContext(), SYSTEM_ARTICLE_LIST, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), SYSTEM_ARTICLE_LIST, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "--info- requestSystemArticleListWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					ArticleListBaseBean bean = mapper.readValue(content, ArticleListBaseBean.class);
					dataManage.setArticleListBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestSystemArticleDetailWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "###### 首页 - 资讯 - 获取详细");
		this.startLoadingProgress();
		client.post(this.getContext(), SYSTEM_ARTICLE_DETAIL, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), SYSTEM_ARTICLE_DETAIL, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "--info-  requestSystemArticleDetailWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					ArticleDetailBaseBean bean = mapper.readValue(content, ArticleDetailBaseBean.class);
					dataManage.setArticleDetailBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	
	@Override
	public void requestUserCarGetViolationWithDoneHandler(String url, RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "###### 首页 - 违章查询(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), USERCAR_GETVIOLATION, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), USERCAR_GETVIOLATION, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestUserCarGetViolationWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					ViolationBaseBean bean = mapper.readValue(content, ViolationBaseBean.class);
					dataManage.setViolationBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestIndexWeatherWithDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "###### 首页 - 天气查询(N)");
		this.startLoadingProgress();
		client.post(this.getContext(), INDEX_WEATHER, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), INDEX_WEATHER, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestUserCarGetViolationWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					WeatherBaseBean bean = mapper.readValue(content, WeatherBaseBean.class);
					dataManage.setWeatherBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}
	
	@Override
	public void requestUserGetLevelRuleWithDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		Log.d(TAG, "###### 个人等级查询 (N)");
		this.startLoadingProgress();
		client.post(this.getContext(), USER_GET_LEVEL_RULE, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), USER_GET_LEVEL_RULE, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestUserGetLevelRuleWithDoneHandler response:"+content);
				handler.onSuccess(content);
			}
		});
	}
	
	
	@Override
	public void requestGetsJoinsWithDoneHandler(String url,
			RequestParams params, final AsyncHttpResponseHandler handler) {
		this.startLoadingProgress();
		client.post(this.getContext(), CARNETWORK_GETSJOINSS, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), CARNETWORK_GETSJOINSS, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestGetsJoinsWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					CarNetworkBaseBean bean = mapper.readValue(content, CarNetworkBaseBean.class);
					dataManage.setCarNetworkBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestGetsLastThemesWithDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		this.startLoadingProgress();
		client.post(this.getContext(), CARNETWORK_GETSLASTTHEMES, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), CARNETWORK_GETSLASTTHEMES, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestGetsLastThemesWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					CarNetworkLastThemesBaseBean bean = mapper.readValue(content, CarNetworkLastThemesBaseBean.class);
					dataManage.setCarNetworkLastThemesBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestgetsMyThemesWithDoneHandler(String url,
			RequestParams params,final  AsyncHttpResponseHandler handler) {
		this.startLoadingProgress();
		client.post(this.getContext(), CARNETWORK_GETSTHEMES, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), CARNETWORK_GETSTHEMES, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestgetsThemesWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					CarNetworkThemesMyBaseBean bean = mapper.readValue(content, CarNetworkThemesMyBaseBean.class);
					dataManage.setCarNetworkThemesMyBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}
	
	@Override
	public void requestgetsCircleThemesWithDoneHandler(String url,
			RequestParams params,final  AsyncHttpResponseHandler handler) {
		this.startLoadingProgress();
		client.post(this.getContext(), CARNETWORK_GETSTHEMES, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), CARNETWORK_GETSTHEMES, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestgetsThemesWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					CarNetworkThemesCircleBaseBean bean = mapper.readValue(content, CarNetworkThemesCircleBaseBean.class);
					dataManage.setCarNetworkThemesCircleBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}
	
	@Override
	public void requestgetsFriendThemesWithDoneHandler(String url,
			RequestParams params,final  AsyncHttpResponseHandler handler) {
		this.startLoadingProgress();
		client.post(this.getContext(), CARNETWORK_GETSTHEMES, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), CARNETWORK_GETSTHEMES, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestgetsThemesWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					CarNetworkThemesFriendBaseBean bean = mapper.readValue(content, CarNetworkThemesFriendBaseBean.class);
					dataManage.setCarNetworkThemesFriendBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestGetThemeWithDoneHandler(String url,
			RequestParams params,final  AsyncHttpResponseHandler handler) {
		this.startLoadingProgress();
		client.post(this.getContext(), CARNETWORK_GETTHEME, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), CARNETWORK_GETTHEME, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestGetThemeWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					CarNetworkThemeDetailBaseBean bean = mapper.readValue(content, CarNetworkThemeDetailBaseBean.class);
					dataManage.setCarNetworkThemeDetailBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestGetsCommentWithDoneHandler(String url,
			RequestParams params,final  AsyncHttpResponseHandler handler) {
		this.startLoadingProgress();
		client.post(this.getContext(), CARNETWORK_GETSCOMMENT, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), CARNETWORK_GETSCOMMENT, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestGetsCommentWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					CarNetworkCommentBaseBean bean = mapper.readValue(content, CarNetworkCommentBaseBean.class);
					dataManage.setCarNetworkCommentBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestCommentWithDoneHandler(String url, RequestParams params,
			final AsyncHttpResponseHandler handler) {
		this.startLoadingProgress();
		client.post(this.getContext(), CARNETWORK_COMMENT, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), CARNETWORK_COMMENT, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestCommentWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestLikeWithDoneHandler(String url, RequestParams params,
			final AsyncHttpResponseHandler handler) {
		this.startLoadingProgress();
		client.post(this.getContext(), CARNETWORK_LIKE, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), CARNETWORK_LIKE, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestLikeWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestShareWithDoneHandler(String url, RequestParams params,
			final AsyncHttpResponseHandler handler) {
		this.startLoadingProgress();
		client.post(this.getContext(), CARNETWORK_SHARE, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), CARNETWORK_SHARE, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestShareWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestMsgGetsDoneHandler(String url, RequestParams params,
			final AsyncHttpResponseHandler handler) {
		this.startLoadingProgress();
		client.post(this.getContext(), MSG_GETS, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), MSG_GETS, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestMsgGetsDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					MessageBaseBean bean = mapper.readValue(content, MessageBaseBean.class);
					dataManage.setMessageBaseBean(bean);
					dataManage.setNo_read_count(bean.getData().getNo_read());
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestMsgGetDoneHandler(String url, RequestParams params,
			final AsyncHttpResponseHandler handler) {
		this.startLoadingProgress();
		client.post(this.getContext(), MSG_GET, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), MSG_GET, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e(TAG, "requestShareWithDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					MsgGetBaseBean bean = mapper.readValue(content, MsgGetBaseBean.class);
					dataManage.setMsgGetBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	@Override
	public void requestUserGetAccountDoneHandler(String url,
			RequestParams params,final AsyncHttpResponseHandler handler) {
		this.startLoadingProgress();
		client.post(this.getContext(), USER_GETACCOUNT, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), USER_GETACCOUNT, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e("mark", "requestUserGetAccountDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}

	@Override
	public void requestGetAddressDoneHandler(String url, RequestParams params,
			final AsyncHttpResponseHandler handler) {
		this.startLoadingProgress();
		client.post(this.getContext(), USER_GETADDRESS, params, 
				new ProjectAsyncHttpResponseHandler(getContext(), USER_GETADDRESS, false) {
			@Override
			public void onSuccess(String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onSuccess(content);
			}

			@Override
			public void onFailure(Throwable error, String content) {
				ProjectHttpRequestImpl.this.dismissLoadingprogress();
				super.onFailure(error, content);
			}

			@Override
			protected void parseContent(String content) {
				content = content.replace("\ufeff", "");
				Log.e("mark", "requestGetAddressDoneHandler response:"+content);
				ObjectMapper mapper = new ObjectMapper();
				try {
					BaseBean<Map> bean = mapper.readValue(content, BaseBean.class);
					dataManage.setBaseBean(bean);
					handler.onSuccess(content);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
		
	}
}
